package com.ruoyi.mstore.mapper;

import com.ruoyi.mstore.domain.RescueTask;
import org.springframework.data.repository.query.Param;

import java.util.List;

/**
* @author mder
* @description 针对表【rescue_task(救援任务表)】的数据库操作Mapper
* @createDate 2025-03-21 16:20:22
* @Entity com.ruoyi.mstore.domain.RescueTask
*/
public interface RescueTaskMapper {

    int deleteByPrimaryKey(Long id);

    int insert(RescueTask record);

    int insertSelective(RescueTask record);

    List<RescueTask> selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(RescueTask record);

    int updateByPrimaryKey(RescueTask record);

    void updateRescueStatus( @Param("messageId") String messageId,
                             @Param("merchantId") String merchantId,
                             @Param("status") int status);
}
